package com.qk.common.enums;

public enum CURDEnum implements Code{
    DELETE_ERROR("删除失败", 10011),
    ;

    private final String msg;
    private final int code;

    CURDEnum(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }

    @Override
    public int getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
